package com.mumu.nacos.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author mumu
 * @version 1.0
 * @date 2023/12/11 10:54
 * @describe
 */
@Slf4j
@RestController
@RequestMapping("feign")
public class FeignController {

    @GetMapping("test")
    public void test() throws InterruptedException {
        log.info("请求打进来了");
        Thread.sleep(5000);
        log.info("请求结束");
    }

}
